﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using SeDuce.Model;

namespace SeDuce.IDAL
{
    public interface INewsDAL
    {
        DataTable GetNews();
        DataTable GetNewsByID(int id);
        DataTable GetNewsTop(int num);
        DataTable GetNewsTypes();
        DataTable GetNewsInGallery();
        DataTable GetNewsIsHeadline(int num);
        bool UpdateNews(News news);
        bool InsertNews(News news);
        bool DeleteNews(int ID);
        bool DeleteNews(List<int> IDs);
    }
}
